package com.tju.resource.server;

import com.tju.resource.model.DocContent;
import com.tju.resource.tool.result.Result;
import com.tju.resource.tool.tool.ClientParameters;
import org.springframework.web.multipart.MultipartFile;

/**
 * 文档接口
 *
 * @Author CLS
 * @Date 2022/2/28 11:27
 */
public interface DocUserPermService {

    /*查询文档数据*/
    Result<Object> docData(String logInName, Object parentMenu);

    /*查询文档*/
    Result<Object> getComputerFile(ClientParameters parameters);

    /*添加*/
    Result<Object> addComputerFile(DocContent docContent, MultipartFile file);

    /*修改*/
    Result<Object> updComputerFile(DocContent docContent, MultipartFile file);

    /*删除*/
    Result<Object> delComputerFile(DocContent docContent);
}
